CC=g++ 
FLAGS= -DISGW_USE_DEV_POLL

INCLUDES=-I$(AEL_ROOT)

LIBS= -lACE -lnsl -lm -lz -lc -ldl -lrt -lpthread 

TARGET=boxer_svrd

all:$(TARGET)

OBJS=$(patsubst %.cpp, obj/%.o, $(wildcard *.cpp))

obj/%.o: %.cpp
	$(CC) $(INCLUDES) $(FLAGS) -c $< -o $@

$(TARGET): $(OBJS)
	$(CC) $(FLAGS) -o $(TARGET) $(OBJS) $(LIBS) 

clean:
	-rm obj/*.o $(TARGET)